import XCTest
@testable import ColorToolKit
import UIKit

final class ColorToolKitTests: XCTestCase {
    func testExample() {
        // This is an example of a functional test case.
        // Use XCTAssert and related functions to verify your tests produce the correct
        // results.
        XCTAssertEqual(ColorToolKit().text, "Hello, World!")
    }

    func testColor() {
        let c = UIColor.hexStringToColorRGB(hexString: "0x00BAFF")
        XCTAssertTrue(c.r == 0)
        XCTAssertTrue(c.g == 186.0)
        XCTAssertTrue(c.b == 255.0)
    }
    
    static var allTests = [
        ("testExample", testExample),
    ]
}
